package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface H5RegisterMapper {

    Long queryRegisterUserId(@Param("userName") String userName);

    void insertRegisterUserRole(@Param("userId") Long userId, @Param("roleId") Long roleId);

    int queryUserCount();

    List<SysUser> queryUserList(@Param("limit") Integer limit, @Param("pageSize") Integer pageSize);

    void updateUserPwd(@Param("userId") Long userId, @Param("pwd") String pwd);
}
